package com.work.vo.main;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.work.utils.BigDecimalSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 件吨
 *
 * @author ：dujianyu
 * @since ：Created in 2024/3/21 14:51
 */
@Data
public class PieceTonVO {

    @ApiModelProperty(value = "件数")
    private Integer piece;

    @JsonSerialize(using = BigDecimalSerializer.class)
    @ApiModelProperty(value = "吨数")
    private BigDecimal ton;

}
